import React from 'react';
import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';
import { Provider } from 'react-redux';
import { AppContainer } from 'react-hot-loader';
import store, { persistor } from './store';
import { PersistGate } from 'redux-persist/lib/integration/react';
import Router from './router/Router'
// 样式文件
import './assets/styles/index.less';

ReactDOM.render(
  <Provider store={store}>
    <PersistGate loading={null} persistor={persistor}>
      <React.StrictMode>
        <Router></Router>
      </React.StrictMode>
    </PersistGate>
  </Provider>,
  document.getElementById('root')
);



reportWebVitals();
